﻿using System;
namespace OnlineTestModel
{
	/// <summary>
	/// studentquestions:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    #region
   
    public class StudentQuestions
	{
		public StudentQuestions()
		{}
		#region Model
		private int _id;
		private int _studentid;
		private int? _paperid;
		private int _questionid;
		private string _answer;
		private int? _score;
		/// <summary>
		/// 
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int StudentId
		{
			set{ _studentid=value;}
			get{return _studentid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? PaperId
		{
			set{ _paperid=value;}
			get{return _paperid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int QuestionId
		{
			set{ _questionid=value;}
			get{return _questionid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Answer
		{
			set{ _answer=value;}
			get{return _answer;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? Score
		{
			set{ _score=value;}
			get{return _score;}
		}
		#endregion Model

    }
    #endregion
    #region

    public class StudentQuestionsEX:StudentQuestions
    {
        private int _questiontypeid;
        /// <summary>
        /// 
        /// </summary>
        public int QuestionTypeId
        {
            set { _questiontypeid = value; }
            get { return _questiontypeid; }
        }
    }

    #endregion
}

